package com.example.cicddemo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloController {

        @RequestMapping
        public String hello() {
            return "Hello, World!";
        }

        @RequestMapping("/goodbye")
        public String goodbye() {
            return "Goodbye, World!！！！！";
        }
}
